<template>
  <div class="video-cont">
    <van-nav-bar
      title="视频播放"
      left-arrow
      @click-left="$router.go(-1)"
    />
    <div class="video">
      <video
        :src="url"
        controls
        autoplay
        muted
      />
    </div>
  </div>
</template>

<script>
export default {
  name: "PlayerVideoPage",
  data() {
    return {
      url: ''
    };
  },
  created() {
    this.url = this.$route.query.url;
  },
  methods: {
    playerVideo() {
      this.$router.push("/player");
    }
  }
};
</script>

<style lang="scss" scoped>
@import "./style.scss";
</style>
